package me.zhengjie.modules.web.service.course;

import me.zhengjie.config.entity.PageData;
import me.zhengjie.modules.web.domain.course.StudentWitnessCategoryResp;
import me.zhengjie.modules.web.domain.course.StudentWitnessListReq;
import me.zhengjie.modules.web.domain.course.StudentWitnessListResp;

import java.util.List;

public interface IStudentWitnessService {

    /**
     * 点赞
     * @param openId
     * @return
     */
    boolean like(Long witnessId,String openId,boolean cancelLike);

    List<StudentWitnessCategoryResp> categoryList();

    List<StudentWitnessListResp> list(Integer categoryId);

    PageData<StudentWitnessListResp> listPage(StudentWitnessListReq listReq);
}
